{dede:config.pagesize value='30'/}
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
		<title>自定义标记</title>
		<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
		<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="../static/web/css/admin.css">
	</head>
	<body>
		<table align="center" class="table maintable my-3">
			<tr>
				<td bgcolor="#f5f5f5" colspan="6">自定义宏标记</td>
			</tr>
			<tr bgcolor="#e9ecef" align="center">
				<td width="10%">id</td>
				<td width="20%">标记名称</td>
				<td width="16%">所属栏目</td>
				<td width="16%">时间限制</td>
				<td width="20%">结束时间</td>
				<td width="20%">管理</td>
			</tr>
			{dede:datalist empty='<tr><td colspan="6" align="center">暂无记录</td></tr>'}
			<tr align="center">
				<td>{dede:field.aid/}</td>
				<td>{dede:field.tagname/}</td>
				<td>{dede:field.typename function='TestType(@me)'/}</td>
				<td>{dede:field.timeset function='TimeSetValue(@me)'/}</td>
				<td>{dede:field.endtime function='GetDateMk(@me)'/}</td>
				<td>
					<a href="mytag_edit.php?aid={dede:field.aid/}&dopost=edit" class="btn btn-light btn-sm"><i class="fa fa-pencil-square"></i> 修改</a>
					<a href="mytag_edit.php?aid={dede:field.aid/}&dopost=getjs" class="btn btn-light btn-sm"><i class="fa fa-code"></i> js调用</a>
					<a href="mytag_edit.php?aid={dede:field.aid/}&dopost=delete" class="btn btn-danger btn-sm"><i class="fa fa-trash"></i> 删除</a>
				</td>
			</tr>
			{/dede:datalist}
			<tr>
				<td colspan="6">
					<a href="mytag_add.php" class="btn btn-success btn-sm">添加标记</a>
					<a href="mytag_tag_guide.php" class="btn btn-success btn-sm">智能标记向导</a>
				</td>
			</tr>
			<tr>
				<td colspan="6" bgcolor="#f5f5f5" align="center">{dede:pagelist listsize='6'/}</td>
			</tr>
		</table>
	</body>
</html>